﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace PozrSvc
{
    public partial class ControlPlugins : UserControl
    {
        PozrSvc.Controls.CtlModuleCfg ctlModuleCfg = new PozrSvc.Controls.CtlModuleCfg();
        public ControlPlugins()
        {
            InitializeComponent();
            ctlModuleCfg.Name = "Manager";
            xTabControlPlugins.Add(ctlModuleCfg);
        }

        public void AddPluginControl(Control pluginControl)
        {
            xTabControlPlugins.Add(pluginControl);
            ctlModuleCfg.RefreshItems();
        }
    }
}
